﻿using AutoClub.Core.Domain;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AutoClub.Core.Tests
{
    /// <summary>
    /// Summary description for LookupValueTests
    /// </summary>
    [TestClass]
    public class LookupValueTests
    {

        [TestMethod]
        public void LookupValueEntityTests()
        {
            // Setup
            UserRolEnum input = UserRolEnum.Administrator;

            //SUT
            UserRol result = new UserRol(input);

            //Asserts
            result.Id.Should().Be(2, "wrong enum int value");
            result.Value.Should().Be(input, "wrong enum value");
        }
    }
}
